package cn.tedu.kcircle.passport;

import cn.tedu.kcircle.passport.adapter.handler.CustomControllerExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource("classpath:dubbo.xml")
@MapperScan("cn.tedu.kcircle.passport.dao.mapper")
public class KcirclePassportApplication {
    @Autowired
    CustomControllerExceptionHandler customControllerExceptionHandler;
    public static void main(String[] args) {
        SpringApplication.run(KcirclePassportApplication.class,args);
    }
}
